
    @extends('admin._layouts.default')

    @section('main')

      <div class="row-fluid ">
        <div class="box gradient">
          <div class="title">
            <h3><a href="section_index.html"  class="btn btn-mini pull-right mg5"><i class="fa fa-hand-o-left"></i> 返回</a>
            <i class="fa fa-user"></i><span>创建员工</span>
            </h3>
          </div>
          <div class="content min_h300">

            {{ Form::open(array('route' => 'admin.works.store','files'=>true,'id'=>'pages','class'=>"bs-docs-example form-horizontal")) }}

              <div class="control-group row-fluid">
                <label class="control-label span4" for="inputPassword">员工姓名</label>
                <div class="controls span5 input-append">
                  <input type="text" id="inputUsername" name="name" placeholder="管理者姓名" class="row-fluid"><span class="add-on"><i class="icon-user"></i></span>
                </div>
              </div>
              <div class="control-group row-fluid">
                <label class="control-label span4" for="inputEmail">员工手机</label>
                <div class="controls span5 input-append">
                  <input type="text" id="inputPhone" name="mobile" placeholder="手机号码" class="row-fluid"><span class="add-on"><i class="icon-phone"></i></span>
                </div>
              </div>

              <!--  <div class="control-group row-fluid">
              <div class="controls span5 offset4">
                <label class="checkbox">
                  <input type="checkbox"> Remember me
                </label>
              </div>
            </div> -->
              <div class="control-group row-fluid">
                <div class="controls span5 offset4">
                  <button type="submit" class="btn btn-primary">创建</button>
                </div>
              </div>
              {{ Form::close() }}


            </div>
        </div>
        <!-- End box -->
      </div>

    @stop




@section('script')
<script language="javascript" type="text/javascript" src="{{ URL::asset('ad/js/plugins/full-calendar/fullcalendar.min.js') }}"></script>
<script language="javascript" type="text/javascript" src="{{ URL::asset('ad/js/plugins/jquery.peity.min.js') }}"></script>
<script type="text/javascript" language="javascript" src="{{ URL::asset('ad/js/plugins/datatables/js/jquery.dataTables.js') }}"></script>
<script language="javascript" type="text/javascript" src="{{ URL::asset('ad/js/plugins/chosen/chosen/chosen.jquery.min.js') }}"></script>
<script language="javascript" type="text/javascript" src="{{ URL::asset('ad/js/plugins/flot/jquery.flot.js') }}"></script>
<script language="javascript" type="text/javascript" src="{{ URL::asset('ad/js/plugins/jquery.uniform.min.js') }}"></script>
<script src="{{ URL::asset('ad/js/plugins/justGage.1.0.1/resources/js/raphael.2.1.0.min.js') }}"></script>
<script src="{{ URL::asset('ad/js/plugins/justGage.1.0.1/resources/js/justgage.1.0.1.min.js') }}"></script>
<script src="{{ URL::asset('ad/js/scripts.js') }}"></script>


    <script type="text/javascript" charset="utf-8">
        // Datatables
        $(document).ready(function() {
          var dontSort = [];
                    $('#datatable_city thead th').each( function () {
                        if ( $(this).hasClass( 'no_sort' )) {
                            dontSort.push( { "bSortable": false } );
                        } else {
                            dontSort.push( null );
                        }
          } );
          $('#datatable_city').dataTable( {
            "sDom": "<'row table_top_bar'<'row-fluid'>'<'to_hide_phone'>'f'<'>r>t<'row'>",
             "sDom": "<'row table_top_bar'<'row-fluid'<'to_hide_phone' f>>><'row'>",
             "aaSorting": [[ 1, "asc" ]],
            "bPaginate": false,
            "bJQueryUI": false,
            "aoColumns": dontSort

          } );
          $.extend( $.fn.dataTableExt.oStdClasses, {
            "s`": "dataTables_wrapper form-inline"
          } );
        } );
        </script>
@stop
